.san-switch-box {
    display: inline-block;
    .san-switch-title-text {
        display: inline-block;
        margin-right: 5px;
        vertical-align: middle;
    }
}
.san-switch {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: rgba(0,0,0,0.65);
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5;
    list-style: none;
    -webkit-font-feature-settings: 'tnum';
    font-feature-settings: 'tnum';
    position: relative;
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 44px;
    height: 22px;
    line-height: 20px;
    vertical-align: middle;
    background-color: #bfbfbf;
    border: 1px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all .36s;
    transition: all .36s;
    user-select: none;
    -webkit-appearance: button;
    .san-switch-inner {
        display: inline-block;
        margin-right: 6px;
        margin-left: 24px;
        color: #fff;
        font-size: 12px;
    }
    .san-click-animating-node {
        position: absolute;
        top: -1px;
        right: -1px;
        bottom: -1px;
        left: -1px;
        display: block;
        border-width: 0;
        border-style: solid;
        border-color: #1890ff;
        border-radius: inherit;
        opacity: .2;
        animation: fadeEffect 2s cubic-bezier(.08, .82, .17, 1),waveEffect .4s cubic-bezier(.08, .82, .17, 1);
        animation-fill-mode: forwards;
        pointer-events: none;
    }
    &:after {
        box-shadow: 0 2px 4px 0 rgba(0,35,11,0.2);
        position: absolute;
        top: 1px;
        left: 1px;
        width: 18px;
        height: 18px;
        background-color: #fff;
        border-radius: 18px;
        cursor: pointer;
        transition: all .36s cubic-bezier(.78, .14, .15, .86);
        content: '';
    }
    
}
.san-switch-checked {
    background-color: #1890ff;
    .san-switch-inner {
        margin-right: 24px;
        margin-left: 6px;
    }
    &:after {
        left: 100%;
        margin-left: -1px;
        transform: translateX(-100%);
    }
}

@keyframes fadeEffect {
    100% {
        opacity: 0;
    }
}